package com.foxchen.offline.task.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.*;

import java.util.Date;

/**
 * @author 6774000316@zte.intra
 */
@Getter
@Setter
@ToString
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class TaskPojo {
    private String id;

    private String name;

    private Integer status;

    private String type;

    private String module;

    private Integer progress;

    private String param;

    private String fileId;

    private String fileName;

    private String filePath;

    private String fileSuffix;

    private String createUserId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtCreate;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss")
    private Date gmtModified;
}
